package org.sag.coverage;

public class PolicySingleTestResult {

	boolean pass;
	String executionResult;
	
	public PolicySingleTestResult(boolean pass, String executionResult) {
		this.pass = pass;
		this.executionResult = executionResult;
	}
	
	public boolean getPass() {
		return pass;
	}
	
	public String getExecutionResult() {
		return executionResult;
	}
	
	public String toString() {
		if (pass)
			return "Pass" + executionResult;
		return "Fail" + executionResult;
	}
	
}
